/** 获取当前星期 周一 周天 */
export const getDays = function () {
  var now = new Date(new Date() - (24 * 60 * 60 * 1000))
  now.setDate(now.getDate() - now.getDay() + 1)
  var begin = now.getFullYear() + '-' + (now.getMonth() + 1) + '-' + now.getDate()
  now.setDate(now.getDate() + 6)
  var end = now.getFullYear() + '-' + (now.getMonth() + 1) + '-' + now.getDate()
  return [
    begin, end
  ]
}
